/**
 * 数组串联
 *
 * @USER: Administrator
 * @DATE: 2024/9/30 下午7:40
 * @VERSION: 1.0.0
 */
public class LC1929 {
    public static void main(String[] args) {

    }

    public int[] getConcatenation(int[] nums) {
        int length = nums.length;
        int[] res = new int[length *2];
        for (int i = 0; i < length; i++) {
            res[i] = nums[i];
            res[i + length] = nums[i];
        }
        return res;
    }

}
